all: hdfReader

hdfReader:
	g++ `gdal-config --cflags` `gdal-config --libs`  -o hdfReader hdfReader.cpp -I /home/vuthailinh/.hdf-4.2.9-linux-x86_64/include -I ~/.szip-2.1/szip/include -L ~/.hdf-4.2.9-linux-x86_64/lib -L ~/.szip-2.1/szip/lib -lmfhdf -ldf -ljpeg -lsz -lz -I /usr/include/postgresql -L /usr/include/postgresql -lpqxx -lpq

clean:
	rm -f hdfReader
	rm -f *.o


